home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / network / ka9q / ka9q_src.arc / CMDPARSE.H < prev    next >
C/C++ Source or Header  |  1988-07-28  |  401b  |  13 lines

  1. #define    NARG        10    /* Max number of args to commands */
  2.  
  3. struct cmds {
  4.     char *name;        /* Name of command */
  5.     int (*func)();        /* Function to execute command */
  6.         int  argcmin;        /* Minimum number of args */
  7.         char *argc_errmsg;    /* Message to print if insufficient args */
  8.         char *exec_errmsg;    /* Message to print if function fails */
  9. };
  10. #ifndef    NULLCHAR
  11. #define    NULLCHAR    (char *)0
  12. #endif
  13.